//
//  ChildModel.m
//  IpadTestB
//
//  Created by edianzu on 2017/6/28.
//  Copyright © 2017年 ruilai. All rights reserved.
//

#import "ChildModel.h"

@implementation ChildModel

+(instancetype)modelWithDictionary:(NSDictionary *)dict{
    return [[self alloc] initWithDictionary:dict];
}

-(instancetype)initWithDictionary:(NSDictionary *)dict{
    if (self = [super init]) {
        self.Birthday = dict[@"Birthday"];
        self.ChildName = dict[@"ChildName"];
        self.ClassName = dict[@"ClassName"];
        self.CreateTime = dict[@"CreateTime"];
        self.Phone = dict[@"Phone"];
        self.ServiceUnitName = dict[@"ServiceUnitName"];
        self.Code = dict[@"Code"];
        self.Name = dict[@"Name"];
        self.isSelected = dict[@"isSelected"];
        self.ResponsibleTeacher = dict[@"ResponsibleTeacher"];
        self.Age = dict[@"Age"];
        self.ChildId = dict[@"ChildId"];
        self.ClassId = dict[@"ClassId"];
        self.Gender = dict[@"Gender"];
        self.Id = dict[@"Id"];
        self.ProgramId = dict[@"ProgramId"];
        self.ServiceUnitId = dict[@"ServiceUnitId"];
        
        
        self.TestStatus = [dict[@"TestStatus"] boolValue];
    }
    return self;
}
@end
